#!/bin/bash
  sed -i "s/self.full_access_roots.clear()/self.full_access_roots/" /home/print3D/moonraker/moonraker/components/file_manager/file_manager.py
  if [ $? -eq 0 ]; then
        echo -e "====写权限开启成功!===="
   else
        echo -e "====写权限开启失败!===="    
  fi